package top.lishou.learnplat.config;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @description: 支付宝沙箱支付配置类
 * @date 2024/8/30 1:29
 */
@Data
@Component
public class AlipayConfig {
    //自己的appId
    public static String appId = "9021000140689265";
    //应用私有秘钥
    public static String appPrivateKey = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCI4KDwJRkQPN9rQyQhXITc9hxV853AUqn4Z6Nufik7qKtBxMVUHlbCYb9E4p5eiXV4OyJ+6YD8kT+4Hz8eyOXzN+QpoIyTPk/rnHn0duOSOby1M8XDBHWoQTce3gXbzzT6OJwtifBk0AJdXJEVQJOffuNvzHukY/f5VZVGAdzFcvJj0YojSzWsvsG2pDxQJqZ3wFrXILRcSZgmNs3hi+RNNvWkpje1DIDoS7e+qHmAzy4LPv1DkxPbqS+XNoo24r5M3Q45eJY11+nQ5IIc3LD9R7ROYCYnub43dxcuJhsJGZOvenKcua67IkHzwOhizB7nlj3WD0uQX40MH7KBYRkzAgMBAAECggEAR1SQajVbB1xBrhsyM/SMBL54683mErjBfQM9ZzJ1+HIgtUh+8SRSYEAiNhrHH0sRHZPrmSnEn1puU1xtP3TAaOxiidLyDzW03nsQDvb6B1TxY5jUYZnsWr+JoxtfADrOR+vCb/TngxHneZHoxaN+iurMSZHNiVDThGs2PGJyE67dMqbcpJcGoc/XQJpyxCYe2tKwcFGzIMwILGyUP5zNDi11yDprKkiUmmtRzalRK8RDdiaZID62ZcfTIwwxC75dw4bde+tO0kcXLF415U8x8IEPZFo8p7GdX7UrYP2mnCOjnsVRv5S9hqsSu36qi1lZernzLHEMNgPDKQ+MyjZ8wQKBgQDA/tpg22NFy4DM1tgzfVw8nTvQqWFdtyLaM0sjTn2wzhC38RRlhjNFJClTjeP0A77MRAQYm222W12dq9dIDH+ZIghsKJnc9SHOIbvW6RccQbZulh6B7knBudsNf+QLDKiq9Z+88kyGTGPxUJ3aaz57oDJFO3yZPRdAqoonWGWcYQK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TxBcZrXKMHU3ulTq1qiJopqGq289cMi1GoVyN5YZDdwIDAQAB";
    //异步回调地址
    public static String notifyUrl = "http://127.0.0.1:8080/alipay/notifyNotice";
    //同步回调地址
    public static String returnUrl = "http://127.0.0.1:8080/alipay/returnNotice";
    //推荐使用这个秘钥
    public static String signType = "RSA2";
    //使用的编码格式
    public static String charset = "utf-8";
    //支付宝默认网关
    public static String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

}
